package superentity;

import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;
import superentity.SuperEntityMatch;
import superentity.SuperEntityMatcher;

/**
 * A pattern-specific matcher factory that can instantiate SuperEntityMatcher in a type-safe way.
 * 
 * @see SuperEntityMatcher
 * @see SuperEntityMatch
 * 
 */
public class SuperEntityMatcherFactory extends BaseGeneratedMatcherFactory<SuperEntityMatch,SuperEntityMatcher> {
  @Override
  protected SuperEntityMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new SuperEntityMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "SuperEntity";
    
  }
}
